package com.dzf.service;

import com.dzf.entity.Cart;

import com.dzf.entity.MyUser;
import com.dzf.entity.RespJson;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@FeignClient(name="my-order-service")
public interface OrdService {
    @RequestMapping("/api/public/ord/findOrdInfo")
    public RespJson findOrdInfo(@RequestBody Map<String,Object> map);

//    @PostMapping(value="/api/public/ord/addOrdItem")
//    public RespJson addOrdItem(@RequestBody Map<String,Object> map);

    @RequestMapping("/api/public/ord/findOrdLines")
     RespJson findOrdLines(@RequestBody Map<String, Object> map);
}
